x = 10 #全局变量
def outer():
    x = 5 #外部嵌套函数作用域
    def inner():
        x = 3 #局部变量
        print(x) #输出3，局部作用域优先
    inner()
outer()


numbers = [1,2,3,4,5]
squared = list(map(lambda x:x **2,numbers))
print(squared)